package com.labirynt;

public class MechanicGame {
public int iHitPoints;
public int iSkill;
public MechanicGame(int iHitPoints,int iSkill  ){
	this.iHitPoints = iHitPoints;
	this.iSkill =iSkill;
 }

public void Stroke(int iSkill)
{
	if(this.iSkill <iSkill)
		this.iHitPoints-=2;
	else
		this.iHitPoints-=1;
}
public Boolean IsNotDead()
{
	return 	iHitPoints>0;	
}

}
